package com.ihealthway.all.groupbuy.vo;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.util.Date;

/**
  * Bean class for reward info design
 * @author 凡梦星尘(elkan1788@gmail.com)
 */
@Table("gb_rewards")
public class Reward {

    @Id
    @Column("rwd_id")
    private Integer rewardId;
    @Column("rwd_name")
    private String rewardName;
    @Column("rwd_img")
    private String rewardImg;
    @Column("rwd_price")
    private Integer rewardPrice;
    @Column("rwd_cnt")
    private Integer rewardCount;
    @Column("rwd_sent")
    private Integer rewardSent;
    @Column("create_time")
    private Date createTime;
    @Column("update_time")
    private Date updateTime;
    @Column("remarks")
    private String remarks;
    @Column("data_status")
    private String dataStatus;

    private int weight;

    public Integer getRewardId() {
        return rewardId;
    }

    public void setRewardId(Integer rewardId) {
        this.rewardId = rewardId;
    }

    public String getRewardName() {
        return rewardName;
    }

    public void setRewardName(String rewardName) {
        this.rewardName = rewardName;
    }

    public String getRewardImg() {
        return rewardImg;
    }

    public void setRewardImg(String rewardImg) {
        this.rewardImg = rewardImg;
    }

    public Integer getRewardPrice() {
        return rewardPrice;
    }

    public void setRewardPrice(Integer rewardPrice) {
        this.rewardPrice = rewardPrice;
    }

    public Integer getRewardSent() {
        return rewardSent;
    }

    public void setRewardSent(Integer rewardSent) {
        this.rewardSent = rewardSent;
    }

    public Integer getRewardCount() {
        return rewardCount;
    }

    public void setRewardCount(Integer rewardCount) {
        this.rewardCount = rewardCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(String dataStatus) {
        this.dataStatus = dataStatus;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "Reward{" +
                "rewardId=" + rewardId +
                ", rewardName='" + rewardName + '\'' +
                ", rewardImg='" + rewardImg + '\'' +
                ", rewardPrice=" + rewardPrice +
                ", rewardCount=" + rewardCount +
                ", rewardSent=" + rewardSent +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", dataStatus='" + dataStatus + '\'' +
                '}';
    }
}
